package com.cqeec.gams.common;

import java.util.ArrayList;
import java.util.List;

import com.cqeec.gams.entity.FunctionalModule;

public class Function {
	private FunctionalModule functionGroup; // 功能组
	private List<FunctionalModule> functionModules; // 功能组的模块

	public Function() {
		super();
		functionModules = new ArrayList<>();
	}

	public void addFunctionModule(FunctionalModule functionalModule) {
		functionModules.add(functionalModule);
	}

	public FunctionalModule getFunctionGroup() {
		return functionGroup;
	}

	public void setFunctionGroup(FunctionalModule functionGroup) {
		this.functionGroup = functionGroup;
	}

	public List<FunctionalModule> getFunctionModules() {
		return functionModules;
	}

	public void setFunctionModules(List<FunctionalModule> functionModules) {
		this.functionModules = functionModules;
	}

}
